package org.csu.secondhand.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
@TableName("account")
public class Account {
    @TableId(value = "id", type = IdType.INPUT)
    private String id;
    private String username;
    private int sex;
    private String birthday;
    private String headimg;
    private String department;
    private String address;
}
